{{tag>entreprise crm erp}}

----
====== SugarCRM - ======
{{http://www.sugarcrm.com/crm/sites/all/themes/sugar_base/images/header/SugarCRM_logo.gif  }}
SugarCRM est le leader des solutions de Gestion de la Relation Client Open Source commerciales destinées aux entreprises de toutes tailles.

Depuis la première distribution mise à disposition en septembre 2004, la version Open Source de  SugarCRM a été téléchargée plusieurs millions de fois. Fort de sa communauté d'utilisateurs et développeurs très active qui assure l'avenir et la pérennité de la solution, SugarCRM s'améliore sans cesse.

La communauté SugarForge propose plus de 300 modules, ce qui fait de SugarCRM l’application CRM la plus flexible et évolutive du marché. SugarCRM est désormais traduit en plus de 50 langues.

SugarCRM est conçu pour fonctionner sur la plate-forme LAMP : la solution fonctionne sous Ubuntu avec le langage PHP (version 5.2.6 de préférence), la base de données MySQL (version 4.1.2 ou plus, MySQL 5 de préférence) et le serveur Web Apache. 
//Par ailleurs, SugarCRM nécessite l'installation des librairies cURL et IMAP.//


  * [[http://www.sugarforge.org/content/open-source/|Sugar Open Source, Communauté Open Source SugarCRM]].
  * [[http://www.sugarcrm.com/forums/forumdisplay.php?f=47|Forum officiel, communauté française SugarCRM]].
  * [[http://www.sugarcrm.com/wiki/index.php?title=Main_Page|Wiki officiel]]
  * 
=====Installation =====

<note tip>Testé sur ubuntu 8.10 serveur edition - Le mode d'installation ne devrait pas changer - Rapportez les erreurs, Merci.</note>
<note tip>Testé sur ubuntu 10.04 LTS serveur edition en version 6 - Le mode d'installation n'a pas changée.</note>

==== Préparation de votre système ====

[[:tutoriel:comment_installer_un_paquet|Installer les paquets]] suivant [[apt://libapache2-mod-php5,libapache2-mod-perl2,php5-common,php5-curl,php5-dev,php5-gd,php5-imap,php5-ldap,unzip,php5-mhash,php5-mysql,php5-odbc,curl,libwww-perl,imagemagick|libapache2-mod-php5 libapache2-mod-perl2 php5-common php5-curl php5-dev php5-gd php5-imap php5-ldap unzip php5-mhash php5-mysql php5-odbc curl libwww-perl imagemagick]]
==== Création de base de données de SugarCRM ====

<code>
$ mysql -u root -p 
mysql> create database sugarcrm;
mysql> exit
</code>

<note important>Sur la version 6, la base sera créée par le script d'installation de SugarCRM.</note>

==== Installer SugarCRM ====

Maintenant vous devez aller à votre document répertoire racine serveur web (emplacement par défaut est /var/www)

     cd /var/www 

Télécharger SugarCRM Community Edition d'ici ou en utilisant une des commandes suivantes (au moment de la rédaction de cet article sugarCRM Community Edition 5.1.0b) [[http://www.sugarforge.org/content/downloads/|Téléchargez plutôt la dernière version du moment]].

    wget http://www.sugarforge.org/frs/download.php/4742/SugarCE-5.1.0b.zip 
    wget http://www.sugarforge.org/frs/download.php/7086/SugarCE-6.0.0.zip (pour la version 6)

Maintenant vous devriez avoir SugarCE-file 5.1.0b.zip et décompresser en utilisant la commande suivante :

    unzip SugarCE-5.1.0b.zip

Déplacer tout le contenu de SugarCE-5.1.0b dans le répertoire de SugarCRM

    sudo mv SugarCE-5.1.0b sugarcrm 

Rendre Apache propriétaire des fichiers SugarCRM (apache-user: www-données)

    sudo chown www-data -vR /var/www/sugarcrm 

Donnez les permissions d'écriture pour Apache sur certains de fichiers SugarCRM :

    cd /var/www/sugarcrm 
    sudo chmod 766 config.php 
    sudo chmod 766 custom 
    sudo chmod -R 766 data 
    sudo chmod -R 766 cache 
    sudo chmod -R 766 modules  
==== Configuration de fichier php.ini ====

Vous devez [[:tutoriel:comment_modifier_un_fichier|modifier le fichier]] **''/etc/php5/apache2/php.ini''**.

  * Changer
<file>
    ;memory_limit = 16M ; 
</file>
en
<file>
    memory_limit = 50M 
</file>

  * Changer
<file>
    ;upload_max_filesize = 2M ; 
</file>
en
<file>
    upload_max_filesize = 10M
</file>

Redémarrez le serveur [[apache2|Apache]] en utilisant la commande suivante
<code>
    sudo /etc/init.d/apache2 restart
</code>
Préférez plutôt cette commande pour la version actuelle de Ubuntu Serveur
<code>
    sudo service apache2 restart
</code>

==== Configurer sugarCRM ====

Maintenant, ouvrez votre navigateur et saisissez l'adresse suivante:

    http://serverip/sugarcrm/install.php

Suivez les instructions à l'écran et profitez de votre SugarCRM. 

=====Extensions=====

====Web conference====

   * [[http://code.google.com/p/openmeetings/wiki/SugarCRMModule|Extension]] pour intégrer [[Openmeeting]].

====Gestion électronique des documents====


Il existe le "plugin" [[http://forge.knowledgetree.com/gf/project/inetdocs|Inetdocs]] pour intégrer knowledgedtree avec surgarcm.

====Messagerie / Thunderbird / Outlook ==== 

[[:Thunderbird]] :

   * Extension 1 ((note: aller dans préférence -> avancé -> Config editor  -> Changer ou mettre extensions.checkUpdateSecurity à false )) : Sugarbird (voir http://www.sugarforge.org/frs/?group_id=216 )
   * Extension 2 : http://www.sugarforge.org/frs/?group_id=819

Outlook : 

   * [[http://www.sugarforge.org/projects/blupsync4ss|blupsync 4 SugarSuite [MS Outlook sync]]

====Agenda partagé / Calendrier ==== 

Agenda Thunderbird :

   * Extension [[:thunderbird#calendrier_-_agenda_-_taches_lightning|Lightning]] : https://addons.mozilla.org/fr/thunderbird/addon/2313 .\\ Patch Ical : http://192.168.1.49/ical_server.php?type=ics&user_name=USER&key=PASS

   * [[http://www.sugarforge.org/projects/outlookconnect/|KINAMU Outlook Connector]]
   * http://ical.gutentag.ch/ics4ol.php

   * http://www.sugarforge.org/projects/icalpatch
   * http://www.sugarforge.org/projects/icalendar

====ERP==== 

Voir aussi la page [[:ERP]].

    * [[http://www.sugarforge.org/projects/axelor-t-s|TinyERP-SugarCRM interface]] - OPEN ERP
    * [[http://www.sugarforge.org/projects/inventory-items|Inventory Items Module]]

    * [[http://www.sugarforge.org/frs/?group_id=858|SMS/Fax Notes]]

====Ldap / Active directory ====

Voir aussi la page [[LDAP client]].

   * [[http://www.sugarcrm.com/wiki/index.php?title=Integrating_SugarCRM_with_Windows_Active_Directory|Integrating SugarCRM with Windows Active Directory]]

Récupération de la configuration LDAP:

    *[[http://www.computerperformance.co.uk/w2k3/utilities/ldp.htm|Récupérer la configuration LDAP via ldp.exe:]] 
   * [[http://www.sugarforge.org/projects/ldapauth|OpenLDAP/Active Directory Authentication]]
   * [[http://www.sugarforge.org/projects/ldapcontactsync|Sugar-LDAP-Contacts-Sync]]

====Asterisk ====

Voir la page [[:Asterisk]].

   * [[http://www.sugarforge.org/projects/liz/|Liz, full featured Asterisk plug-in]]
   * [[http://www.sugarforge.org/projects/yaai/|KINAMU/abcona Open Asterisk Connector]]
   * [[http://www.sugarforge.org/projects/sugardirector|Asterisk SugarDirector]]
   * [[http://www.sugarforge.org/projects/asterisk-int|Asterisk VoiceRD Integration]]
   * [[http://www.sugarforge.org/search/?type_of_search=soft&words=asterisk&Search=Rechercher|Recherche]]

====Forums ====

   * [[http://www.sugarforge.org/projects/forumsmodule|Sugar Forums]]

====Reporting ====

Voir aussi la page [[Business Intelligence]].

    * [[http://www.sugarforge.org/frs/?group_id=800|DatabaseAce]]
    * [[http://www.sugarforge.org/projects/jjwtoolsreports|JJWDesign Tools and Reports Modules]]
    * [[http://www.sugarforge.org/projects/kinamureporter/|KINAMU Reporter]]

    * [[http://www.sugarforge.org/projects/jjwgooglemaps/|JJWDesign Google Maps]]

==== OpenOffice.org / Microsoft Office====

Voir aussi les pages [[OpenOffice.org]] et [[Microsoft Office]].

    * [[http://www.sugarexchange.com/product_details.php?product=468|GrinMark MS Plugin for SugarCRM]]

===== Liens =====

  * [[http://www.sugarcrm.com/crm/about/press-releases/20070123-ubuntu.html|SugarCRM Available to Ubuntu Users]] (site officiel)
  * [[http://www.debianhelp.co.uk/sugarcrm.htm|SugarCRM Configuration in debian Sarge]]
  * [[http://www.ubuntugeek.com/install-sugarcrm-community-edition-in-ubuntu-810-server.html|Install SugarCRM community edition in Ubuntu 8.10 Server]]
  * [[http://www.howtoforge.com/installing-sugarcrm-community-edition-on-ubuntu-8.10|Installing SugarCRM Community Edition On Ubuntu 8.10]] 
  * [[http://myhowtosandprojects.blogspot.com/2008/07/install-sugarcrm-howto.html|SugarCRM 5.0.0f on Ubuntu 8.04 (Hardy Heron)]] 



----

//Contributeurs : [[utilisateurs:psychederic|Psychederic]],... //